@extends('home.layout.index')

@section('con')
	<?php 
        // session_start(); 
        // echo $_SESSION['name'];
    ?>
<div class="zg-wrap zu-main clearfix " role="main">
    <div class="zu-main-content">
        <div class="zu-main-content-inner">
            <div itemscope="" itemtype="">
             @foreach($data as $k=>$v)
                <div class="topic-avatar" itemprop="image" itemscope="" itemtype="">
                    <div>
                        <a class="zm-entry-head-avatar-link" href="/topic/19619800" id="zh-avartar-edit-form">
                            <img alt="{{$v->title}}" src="{{$v->pic}}" style=" width:35px; height:35px;" class="zm-avatar-editor-preview">
                        </a>
                        <meta itemprop="image" content="">
                    </div>
                    <span class="zm-entry-head-avatar-edit-button">
                        修改
                    </span>
                    <form target="av_up_frame" style="display:none;" method="post" enctype="multipart/form-data"
                    action="">
                        <label for="avt_file">
                        </label>
                        <input accept="image/*" name="picture" id="avt_file" type="file">
                        <input name="handle_mode" value="upload" type="hidden">
                        <input name="type" value="2" type="hidden">
                        <input name="dest_id" value="23259" type="hidden">
                        <input name="return_size" value="l" type="hidden">
                    </form>
                </div>
                <div class="topic-info">
                 
                    <div class="topic-name zm-editable-status-normal" id="zh-topic-title">
                  
                        <h1 class="zm-editable-content">
                            {{$v->title}}

                            <a href="javascript:;" class="zu-edit-button" name="edit">
                                <i class="zu-edit-button-icon">
                                </i>
                                修改
                            </a>
                        </h1>
                        <div class="zm-editable-editor-wrap" style="display:none">
                            <input class="zm-editable-editor-input zg-form-text-input" style="width:150px"
                            type="text">
                            <span class="zm-command">
                                <a href="javascript:;" name="save" class="zg-btn-blue" style="margin:0 15px;">
                                    完成
                                </a>
                                <a href="javascript:;" name="cancel" class="zm-command-cancel">
                                    取消
                                </a>
                            </span>
                        </div>
                    </div>
                  @endforeach
                    <a href="#" class="meta-item share-button zg-right goog-inline-block goog-menu-button"
                    name="share" role="button" style="-moz-user-select: none;" aria-expanded="false"
                    tabindex="0" aria-haspopup="true">
                        <div class="goog-inline-block goog-menu-button-outer-box">
                            <div class="goog-inline-block goog-menu-button-inner-box">
                                <div class="goog-inline-block goog-menu-button-caption">
                                    <i class="z-icon-share">
                                    </i>
                                    分享
                                </div>
                                <div class="goog-inline-block goog-menu-button-dropdown">
                                    &nbsp;
                                </div>
                            </div>
                        </div>
                    </a>
                    <div class="zm-topic-topbar">
                        <div class="zm-topic-topbar-nav clearfix">
                            <ul class="zm-topic-topbar-nav-list zg-left clearfix">
                                <li class="zm-topic-topbar-nav-list-item current">
                                    <span>
                                        表乱看哦....
                                    </span>
                                </li>
                                <!-- <li class="zm-topic-topbar-nav-list-item">
                                    <a class="zg-link-litblue-normal" href="/topic/19619800/top-answers">
                                        精华
                                    </a>
                                </li>
                                <li class="zm-topic-topbar-nav-list-item">
                                    <a class="zg-link-litblue-normal" href="/topic/19619800/unanswered">
                                        等待回答
                                    </a>
                                </li> -->
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="feed-switcher">
                  <!--   <span class="current">
                        热门排序
                    </span> -->
                    <!-- | -->
                    <!-- <a href="/topic/19619800/newest">
                        时间排序
                    </a> -->
                </div>
                <div class="zm-topic-list-container" itemprop="hasPart" itemscope="" itemtype="http://schema.org/ItemList/QuestionList">
                    <div class="zu-top-feed-list navigable" id="zh-topic-feed-list">
                        <meta itemprop="questionCount" content="237">
                        <meta itemprop="topAnswerCount" content="10">
                       
                        

                        @foreach($data1 as $k=>$v)
                        <!-- {{var_dump($k)}} -->
                        <div class="feed-item feed-item-hook  folding" itemprop="question" itemscope=""
                        itemtype="http://schema.org/Question" data-score="3687.22894475" data-type="Answer"
                        data-za-module="AnswerItem">
                            <link itemprop="url" href="/question/22317481/answer/68332967">
                            <meta itemprop="answer-id" content="22752111">
                            <meta itemprop="answer-url-token" content="68332967">
                            <meta itemprop="answerCount" content="17">
                            <meta itemprop="isTopQuestion" content="false">
                            <div class="feed-main">
                                <div class="feed-content">
                                    <h2>
                                        <a class="question_link" href="/question/22317481" target="_blank" data-id="1107890"
                                        data-za-element-name="Title">
                                            {{$v->atitle}}
                                        </a>
                                    </h2>
                                    @foreach($array as $k=>$v)
                                    <div class="expandable entry-body">
                                        <link itemprop="url" href="/question/22317481/answer/68332967">
                                        <!-- <meta itemprop="answer-id" content="22752111">
                                        <meta itemprop="answer-url-token" content="68332967"> -->
                                        <div class="zm-item-vote">
                                            <a class="zm-item-vote-count js-expand js-vote-count" href="javascript:;"
                                            data-bind-votecount="">
                                                {{$v['pass']}}
                                            </a>
                                        </div>
                                        <div class="zm-votebar" data-za-module="VoteBar">
                                            <button class="up" aria-pressed="false" title="赞同">
                                                <i class="icon vote-arrow">
                                                </i>
                                                <span class="count">
                                                    89
                                                </span>
                                                <span class="label sr-only">
                                                    赞同
                                                </span>
                                            </button>
                                            <button class="down" aria-pressed="false" title="反对，不会显示你的姓名">
                                                <i class="icon vote-arrow">
                                                </i>
                                                <span class="label sr-only">
                                                    反对，不会显示你的姓名
                                                </span>
                                            </button>
                                        </div>

                                        
                                        <div class="zm-item-answer-author-info">
                                            <span class="summary-wrapper">
                                                <span class="author-link-line">
                                                    <a class="author-link" data-hovercard="p$t$chan-pin-zhang-san" target="_blank"
                                                    href="/home/user/userdata">
                                                        {{$v['uname']}}
                                                    </a>
                                                </span>
                                                <span title="丢掉所有木铲 拿起一把电钻" class="bio">
                                                   {{$v['jj']}}
                                                </span>
                                            </span>
                                        </div>

                                       <!--  <div class="zm-item-vote-info" data-votecount="89" data-async-voters="1"
                                        data-za-module="VoteInfo">
                                            <span class="voters text">
                                                <a href="#" class="more text">
                                                    <span class="js-voteCount">
                                                        89
                                                    </span>
                                                    &nbsp;人赞同
                                                </a>
                                            </span>
                                        </div> -->
                                        <div class="zm-item-rich-text expandable js-collapse-body" data-resourceid="1107890"
                                        data-action="/answer/content" data-author-name="张博远" data-entry-url="">
                                            

                                       
                                            <div class="zh-summary summary clearfix">
                                                {{$v['content']}}
                                                <!-- <a href="/question/22317481/answer/68332967" class="toggle-expand">
                                                    显示全部
                                                </a> -->
                                            </div>

                                            <p class="visible-expanded">
                                                <a itemprop="url" class="answer-date-link meta-item" data-tooltip="s$t$发布于 2015-10-19"
                                                target="_blank" href="/question/22317481/answer/68332967">
                                                    编辑于 2017-02-19
                                                </a>
                                            </p>
                                        </div>
                                    </div>

                                    <div class="zm-item-meta feed-meta">
                                        <div class="zm-item-meta answer-actions clearfix js-contentActions">
                                            <div class="zm-meta-panel">
                                                <a data-follow="q:link" class="follow-link zg-follow meta-item" href="javascript:;"
                                                id="sfb-1107890">
                                                    <i class="z-icon-follow">
                                                    </i>
                                                    关注问题
                                                </a>
                                                <a href="#" name="addcomment" class="meta-item toggle-comment js-toggleCommentBox">
                                                    <i class="z-icon-comment">
                                                    </i>
                                                    15 条评论
                                                </a>
                                                <a href="#" class="meta-item zu-autohide js-thank" data-thanked="false">
                                                    <i class="z-icon-thank">
                                                    </i>
                                                    感谢
                                                </a>
                                                <a href="#" class="meta-item zu-autohide js-share goog-inline-block goog-menu-button"
                                                role="button" style="-moz-user-select: none;" aria-expanded="false" tabindex="0"
                                                aria-haspopup="true">
                                                    <div class="goog-inline-block goog-menu-button-outer-box">
                                                        <div class="goog-inline-block goog-menu-button-inner-box">
                                                            <div class="goog-inline-block goog-menu-button-caption">
                                                                <i class="z-icon-share">
                                                                </i>
                                                                分享
                                                            </div>
                                                            <div class="goog-inline-block goog-menu-button-dropdown">
                                                                &nbsp;
                                                            </div>
                                                        </div>
                                                    </div>
                                                </a>
                                                <a href="#" class="meta-item zu-autohide js-collect">
                                                    <i class="z-icon-collect">
                                                    </i>
                                                    收藏
                                                </a>
                                                <span class="zg-bull zu-autohide">
                                                    •
                                                </span>
                                                <a href="#" class="meta-item zu-autohide js-noHelp">
                                                    没有帮助
                                                </a>
                                                <span class="zg-bull zu-autohide">
                                                    •
                                                </span>
                                                <a href="#" class="meta-item zu-autohide js-report">
                                                    举报
                                                </a>
                                                <meta name="copyrightStatus" content="0">
                                                <meta name="disableCopyAvatar" content="https://pic2.zhimg.com/v2-c81f8c2680de75e81c4ba29eb4c13735_s.jpg">
                                                <span class="zg-bull">
                                                    •
                                                </span>
                                                <a href="/terms#sec-licence-6" target="_blank" class="meta-item copyright">
                                                    禁止转载
                                                </a>
                                                <button class="meta-item item-collapse js-collapse">
                                                    <i class="z-icon-fold">
                                                    </i>
                                                    收起
                                                </button>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        @endforeach
                        @endforeach
                       
                    </div>
                    <a aria-role="button" class="zg-btn-white zu-button-more">
                        更多
                    </a>
                </div>
            </div>
        </div>
    </div>
    <div class="zu-main-sidebar" data-za-module="RightSideBar">
        <div class="zm-side-section">
            <div class="zm-side-section-inner">
                <div class="topic-header-side zm-entry-head-wrap">
                    <div class="clearfix">
                        <div id="zh-topic-side-head">
                            <a href="javascript:;" id="tf-23259" name="focus" class="zg-btn-green zu-entry-focus-button zg-mr10">
                                关注话题
                            </a>
                            <div class="zm-topic-side-followers-info">
                                <a href="/topic/19619800/followers">
                                    <strong>
                                        95
                                    </strong>
                                </a>
                                人关注了该话题
                            </div>
                        </div>
                    </div>
                    <div style="margin-top: 15px;">
                        <a class="zg-link-litblue-normal js-may-disable" href="/topic/19619800/organize">
                            组织
                        </a>
                        <span class="zg-bull">
                            •
                        </span>
                        <a class="zg-link-litblue-normal js-may-disable" href="/topic/19619800/manage">
                            管理
                        </a>
                        <span class="zg-bull">
                            •
                        </span>
                        <a class="zg-link-litblue-normal" href="/topic/19619800/log">
                            日志
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <div class="zm-side-section">
            <div class="zm-side-section-inner">
                <h3 class="zm-topic-side-organize-title">
                    描述
                </h3>
                <div id="zh-topic-desc" data-resourceid="23259" data-action="/topic-introduction"
                class="zm-editable-status-normal">
                    <div class="zm-editable-tip">
                        <a href="javascript:;" name="edit">
                            添加话题描述
                        </a>
                    </div>
                    <div class="zm-editable-content" data-editable-maxlength="130" style="display: none;">
                        <a href="javascript:;" class="zu-edit-button" name="edit">
                            <i class="zu-edit-button-icon">
                            </i>
                            修改
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <div class="shameimaru-section" data-info="{&quot;category&quot;: &quot;1&quot;, &quot;ad_zone_id&quot;: 3, &quot;version&quot;: &quot;1&quot;, &quot;ad_id&quot;: 3904, &quot;timestamp&quot;: 1492141476.924114, &quot;ad_relevancy&quot;: 0.037037, &quot;sign&quot;: &quot;ca2a4f5af0a99ee29f45d3edf721c216&quot;}"
        data-close="https://sugar.zhihu.com/track?vs=1&amp;ai=3904&amp;lo=topic_up&amp;cg=1&amp;ts=1492141476.92&amp;lu=75007342&amp;si=122df4fef071403b92820bcb675d7764&amp;ar=0.037037&amp;hn=ad-engine.ad-engine.a74155db&amp;at=close&amp;ut=ec2722122ab34f98a1c6b0fd5ec10cb7&amp;pf=Windows&amp;az=3&amp;sg=920b909de0e74c917868b219f34a2551"
        data-za-module="AdItem">
            <a class="shameimaru-link" href="https://sugar.zhihu.com/track?ai=3904&amp;cg=1&amp;ar=0.037037&amp;hn=ad-engine.ad-engine.a74155db&amp;at=click&amp;az=3&amp;lo=topic_up&amp;tu=aHR0cHM6Ly9wcm9tb3Rpb24uemhpaHUuY29tL3AvMTk3MDEzMzE%3D&amp;vs=1&amp;ts=1492141476.92&amp;si=122df4fef071403b92820bcb675d7764&amp;lu=75007342&amp;pf=Windows&amp;ut=ec2722122ab34f98a1c6b0fd5ec10cb7&amp;sg=ca2a4f5af0a99ee29f45d3edf721c216"
            target="_blank" rel="nofollow">
                <img src=""
                srcset=""
                alt="">
            </a>
            <meta itemprop="view_url" content="[&quot;https://sugar.zhihu.com/track?vs=1&amp;ai=3904&amp;lo=topic_up&amp;cg=1&amp;ts=1492141476.92&amp;lu=75007342&amp;si=122df4fef071403b92820bcb675d7764&amp;ar=0.037037&amp;hn=ad-engine.ad-engine.a74155db&amp;at=view&amp;ut=ec2722122ab34f98a1c6b0fd5ec10cb7&amp;pf=Windows&amp;az=3&amp;sg=920b909de0e74c917868b219f34a2551&quot;]">
            <a class="shameimaru-close z-ico-shameimaru-close" data-tooltip="s$b$不再显示"
            rel="nofollow">
            </a>
            <img class="shameimaru-pixel" src="https://sugar.zhihu.com/track?vs=1&amp;ai=3904&amp;lo=topic_up&amp;cg=1&amp;ts=1492141476.92&amp;lu=75007342&amp;si=122df4fef071403b92820bcb675d7764&amp;ar=0.037037&amp;hn=ad-engine.ad-engine.a74155db&amp;at=impression&amp;ut=ec2722122ab34f98a1c6b0fd5ec10cb7&amp;pf=Windows&amp;az=3&amp;sg=920b909de0e74c917868b219f34a2551">
        </div>
        <div class="zm-side-section" id="zh-topic-side-parents-list">
            <div class="zm-side-section-inner parent-topic">
                <h3 class="zm-topic-side-organize-title">
                    父话题
                </h3>
                <div class="clearfix">
                    <a class="zm-item-tag" href="/topic/19776751" data-hovercard="t$b$19776751"
                    data-token="19776751" data-topicid="76001" data-za-element-name="Title">
                        「未归类」话题
                    </a>
                </div>
            </div>
        </div>
    </div>
</div>
@endsection